<script lang="ts" setup>
import { NDataTable } from "naive-ui";
import type { DataTableColumn } from "naive-ui";

interface Props {
  columns: DataTableColumn[];
}

const props = withDefaults(defineProps<Props>(), {});

const genProps = () => {
  return { ...props };
};
</script>

<template>
  <NDataTable v-bind="genProps()"></NDataTable>
</template>

<style lang="less" scoped></style>
